import javax.jws.soap.SOAPBinding;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Locale;

public class StringTest {
    public static void main(String[] args) {

       //char newStr =str.charAt(2);
       // int s =str.compareTo("javac#c++javajavasecc++");
        //boolean s = str.contains("c+++");判断子串




       /* String str = "jAvac#c++javajavasec++";
        System.out.println(Arrays.toString(str.getBytes()));
        System.out.println(str.indexOf("c"));
        System.out.println(str.length());

        System.out.println(str.isEmpty());
        System.out.println(str.lastIndexOf("java"));
        System.out.println(str.replace("java","/"));*/

        /*String [] strings = s.split("-");
        System.out.println(Arrays.toString(strings));
        System.out.println(s.substring(0,4));
        System.out.println(s.substring(5));
        System.out.println(Arrays.toString(s.toCharArray()));
        System.out.println(s.trim());
        System.out.println(s.toUpperCase());*/
        //System.out.println(String.valueOf(true));
        String s = "ADdddffg";
        String b = "ADdddffg";

        //System.out.println(String.valueOf(new StringTest()));


        StringBuffer stringBuffer = new StringBuffer("我是中国人");

        stringBuffer.append(s);
        stringBuffer.append(b);

        System.out.println(stringBuffer);
        Integer a = 1000;
        Integer c = 1000;
        System.out.println(a+1);
        System.out.println(a == c);


    }




}
